package com.google.code.jtasks.util;

/**
 * <p>
 * This exception should be thrown when a situation is encountered that could only have been caused by
 * programmer error.
 * </p>
 * 
 * @author <a href="mailto:joco@jonathancoulton.com">Jonathan Coulton</a>
 */
public class BadCodeMonkeyException extends RuntimeException
{
	private static final long serialVersionUID = 1L;

	/**
	 * Constructor.
	 * 
	 * @param message
	 *            the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
	 */
	public BadCodeMonkeyException(String message)
	{
		super(message);
	}

	/**
	 * Constructor.
	 * 
	 * @param message
	 *            the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
	 * @param cause
	 *            the cause (which is saved for later retrieval by the {@link #getCause()} method). (A
	 *            <tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)
	 */
	public BadCodeMonkeyException(String message, Throwable cause)
	{
		super(message, cause);
	}
}
